import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import student  from '@/components/student.vue'
import ribao from '@/components/Ribao.vue'
import RibaoForm from '@/components/RibaoForm.vue'
import studentForm from '@/components/studentForm.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/st',
      name: 'student',
      component: student
    },
    {
      path: '/stF',
      name: 'studentForm',
      component: studentForm
    },
    {
      path: '/rb',
      name: 'ribao',
      component: ribao
    },
    {
      path: '/rbF',
      name: 'RibaoForm',
      component: RibaoForm

    },
  ]
})
